package com.cskaoyan.market.service.wx.impl;

import com.cskaoyan.market.db.domain.MarketStorage;
import com.cskaoyan.market.db.mapper.MarketStorageMapper;
import com.cskaoyan.market.service.wx.WXStorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName WXStorageServiceImpl
 * @Description
 * @Author MZ
 * @Date 2023/5/22 18:56
 */
@Service
public class WXStorageServiceImpl implements WXStorageService {

    @Autowired
    MarketStorageMapper storageMapper;

    @Override
    public int addStorage(MarketStorage marketStorage) {

        int row = storageMapper.insert(marketStorage);
        return row;
    }
}
